package com.iot.ic.dao;

import com.iot.ic.model.Competition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompetitionMapper {
    int deleteByPrimaryKey(Integer competitionId);

    int insert(Competition record);

    int insertSelective(Competition record);

    Competition selectByPrimaryKey(Integer competitionId);

    int updateByPrimaryKeySelective(Competition record);

    int updateByPrimaryKey(Competition record);

    List<Competition>selectAllCompetition();
}